package kr.saeildamil.androidstudy_second.ani;

import kr.saeildamil.androidstudy_second.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class AnimationMain extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch23_animationmain);
	}

	public void mOnClick(View v) {
		Intent intent = new Intent();
		switch (v.getId()) {
		case R.id.ch23_btn01:
			intent.setClass(this, FrameAni.class);
			break;
		case R.id.ch23_btn02:
			intent.setClass(this, AnimationTest.class);
			break;
		case R.id.ch23_btn03:
			intent.setClass(this, AnimAttr.class);
			break;
		case R.id.ch23_btn04:
			intent.setClass(this, AnimSet.class);
			break;
		case R.id.ch23_btn05:
			intent.setClass(this, AnimCustom.class);
			break;
		case R.id.ch23_btn06:
			intent.setClass(this, AnimTween.class);
			break;
		case R.id.ch23_btn07:
			intent.setClass(this, TweenListener.class);
			break;
		case R.id.ch23_btn08:
			intent.setClass(this, ListAnim.class);
			break;
		case R.id.ch23_btn09:
			intent.setClass(this, ViewFlipperTest.class);
			break;
		case R.id.ch23_btn10:
			intent.setClass(this, ImageSwitcherTest.class);
			break;
		}
		startActivity(intent);
	}

}